package blog

import "github.com/gin-gonic/gin"

type CommentRouter struct{}

func (c *CommentRouter) InitBlogCommentRouter(Router *gin.RouterGroup) {
	blogCommentRouter := Router.Group("blog/")
	{
		blogCommentRouter.POST("comment", commentApi.Create)
		//blogCommentRouter.GET("comment", commentApi.Get)
		blogCommentRouter.PUT("comment", commentApi.Update)
		blogCommentRouter.DELETE("comment/:commentId", commentApi.Delete)
		blogCommentRouter.POST("comment/list", commentApi.List)
	}
}
